package com.order.service;

import com.order.dto.ConsumerDTO;
import com.order.dto.ConsumerPageQueryDTO;
import com.order.entity.User;
import com.order.result.PageResult;

import java.util.List;

public interface ConsumerService {

    PageResult pageQuery(ConsumerPageQueryDTO consumerPageQueryDTO);

    void save(ConsumerDTO consumerDTO);

    void startOrStop(Integer status, long id);

    User getById(long id);

    void update(ConsumerDTO consumerDTO);

    void deleteUser(List<Long> ids);
}
